Skip to main content

Callback


Unlike request-based methods that are initiated by the integrator, the callback is initiated by the Keepz payment system. The integrator must implement an endpoint to receive and handle these callbacks.

The purpose of the callback is to deliver real-time updates about the payment status, specifically when:

  • The payment has been completed successfully.
  • The payment has failed or was not completed.

Payment details are sent to the callback URL using the POST method. The callback URL can be provided in two ways:

  • Dynamic – passed during order creation.
  • Static – configured once during integration with Keepz.

To confirm successful receipt of the callback, the integrator must return HTTP status code 200.

If the callback is not received successfully, the integrator should use the Get Order Status method to verify the payment status and update the order status in its system accordingly.

Callback Parameters

ParameterTypePossible Values / FormatDescription
amountnumberAmount paid by the customer in the transaction.
receiverIdstring (UUID v4)Unique identifier of the receiver in Keepz system.
receiverTypestringBRANCHType of the receiver.
integratorIdstring (UUID v4)Unique identifier of the integrator in Keepz system.
integratorOrderIdstring (UUID v4)Unique identifier of the order in the integrator’s system, provided during order creation.
statusstringSUCCESS, FAILEDCurrent status of the order.
cardInfoobjectCard details if the payment was made with a bank card. Returned only if saveCard = true and the integrator has permission. See details below.
initialCurrencystringUSD, EUR, GELCurrency displayed to the sender as requested by the integrator.
acquiringCurrencystringUSD, EUR, GEL,Currency in which the payment is acquired. Only returned if enabled for the integrator by Keepz.
acquiringAmountnumberAmount processed in the acquiring currency. Only returned if enabled for the integrator by Keepz.

Card info Object

FieldTypePossible Values / FormatDescription
tokenstring(UUID v4)Tokenized card identifier. Can be reused by the integrator for future orders (via cardToken).
providerstringCREDOPayment provider that processed the card transaction.
cardMaskstringMasked PAN (e.g., 411111******1111)Masked card number.
expirationDatestringFormat MM/YY (e.g., 12/27)Card expiration date.
cardBrandstringVISA, MasterCard, AMEX, etc.Brand of the card.